@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #eee !important;

}

em,
i {
    font-style: normal;
}

a {
    text-decoration: none !important;
}

li {
    list-style: none;
}

.wrapper {
    width: 1240px;
    height: 100%;
    margin: 0 auto;
}

// 头部


// 轮播
.carousel-inner img {
    display: block;
    object-fit: cover;
    height: 680px !important;
}

// 分类盒子
.section-box {
    height: 280px;
    background-color: #fff;
    margin-top: -10px;

    li {
        width: 25%;
        padding: 45px 0;
        text-align: center;
        float: left;

        &:hover {
            opacity: 0.8;
        }

        img {
            height: 130px;
        }

        em {
            font-size: 20px;
            display: block;
            color: #333;
            font-weight: 400;
        }

        p {
            font-size: 14px;
            color: #999;
        }
    }
}

//手机
.section-phone {
    margin-bottom: 50px;
    padding-top: 35px;
    height: 1900px;

    h3 {
        font-size: 30px;
        text-align: center;
        margin-bottom: 10px;
        line-height: 40px;
    }

    .section-phone-img img {
        width: 100%;
        height: 450px;
        object-fit: cover;

        &:hover {
            opacity: 0.8;
        }
    }

    .section-phone-detail {
        li {
            float: left;
            text-align: center;
            background-color: #fff;
            position: relative;


            &:hover {
                box-shadow: 10px 10px 5px #ccc;
            }

            span {
                display: inline-block;
                position: relative;
                color: #c00;
                font-size: 22px;
                padding-left: 14px;

                dfn {
                    position: absolute;
                    left: 0;
                    font-size: 14px;
                    bottom: 3px;
                }
            }

            .icon {
                position: absolute;
                top: 30px;
                left: 30px;
                width: 60px;
                line-height: 60px;
                color: #fff !important;
                font-size: 16px;
                border-radius: 50%;
                background-image: linear-gradient(120deg, #ff3149, #ff64a6);
            }
        }


        .big-pic {
            width: 49%;
            text-align: center;

            &:first-child {
                margin-right: 10px;
            }

            p {
                color: #333;

                &:nth-child(2) {
                    font-size: 28px;
                    margin-top: 60px;
                }

                &:nth-child(3) {
                    font-size: 18px;
                    margin-bottom: 3px;
                }
            }

            img {
                display: block;
                height: 450px;
                margin-left: 70px;
            }
        }

        .small-pic {
            width: 299px;
            position: relative;
            height: 375px;
            margin-right: 10px;
            margin-top: 10px;

            .icon {
                background-image: linear-gradient(120deg, #2e74f6, #56bdf9);
            }

            &:nth-child(4n+2) {
                margin-right: 0;
            }

            img {
                height: 230px;
                margin-top: 30px;
            }

            p {
                color: #333;

                &:nth-child(3) {
                    margin-top: 10px;
                    font-size: 16px;
                    margin-bottom: 2px;
                }

                &:nth-child(4) {
                    color: #999;
                    font-size: 14px;
                    margin-bottom: 0;
                }
            }
        }
    }
}

// 魅族声学
.section-voice {
    height: 1300px !important;

    .small-pic {
        &:nth-child(4n+2) {
            margin-right: 10px !important;
        }

        s {
            font-size: 14px;
            color: #666;
        }

        .icon {
            background-image: linear-gradient(120deg, #ff3149, #ff64a6) !important;
        }

        &:nth-child(1),
        &:nth-child(5) {
            position: relative;

            img {
                object-fit: cover !important;
                height: 375px !important;
                margin-top: 0;
            }

            &>a>div {
                position: absolute;
                // left: 20px;
                left: 0;
                right: 0;
                top: 270px;

                p {
                    margin: 0;
                    color: #fff;

                    &:first-child {
                        font-size: 21px;
                        font-weight: 700;
                    }

                    &:nth-child(2) {
                        font-size: 14px;
                    }
                }

                span {
                    color: #ebce6b;
                    font-weight: 700;
                    font-family: "heiti";
                }
            }
        }
    }
}

// 社区热帖
.section-community {
    height: 820px !important;

    .small-pic {

        &:nth-child(2),
        &:nth-child(6) {
            margin-right: 10px !important;
        }

        &>a>img {
            display: block;
            margin: 0 auto;
            width: 100%;
            height: 190px !important;
            object-fit: cover;
            margin-top: 0 !important;
        }

        p {
            text-align: left;
            margin-left: 10px;
            line-height: 25px;

            img {
                width: 36px !important;
                height: 36px !important;
                border: 1px solid #fff;
                border-radius: 50%;
                margin-top: 0 !important;
                box-shadow: 1px 1px 1px 1px #eee;
            }
        }

        .comment-p {
            padding: 10px 5px 15px;
            font-size: 16px !important;
            line-height: 27px;
            height: 66px;
            overflow: hidden;
            color: #333 !important;
        }

        .user-phone-type {
            color: #999 !important;
            padding: 0 10px;
            margin-top: 10px;

        }
    }
}

// Flyme
.flyme {
    height: 580px !important;

    .small-pic {
        height: 240px !important;

        &>a {
            font-size: 16px;
            line-height: 40px;
            color: #333;
        }
    }

    ul>li:first-child {
        width: 49% !important;

        img {
            height: 100% !important;
        }
    }
}

// bottom